package com.es.poem.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.es.poem.entry.People;
import com.es.poem.mapper.PeopleMapper;
import com.es.poem.service.PeopleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PeopleServiceImpl extends ServiceImpl<PeopleMapper, People> implements PeopleService {

    @Autowired
    private PeopleMapper peopleMapper;


    @Override
    public List<People> findAll() {
        return peopleMapper.findAll();
    }
}
